<#import "/spring.ftl" as spring/>

<!doctype html>
<html lang="en" ng-app="main">
<head>
    <meta charset="UTF-8">
    <title>angular demo</title>
    <script type="text/javascript" src = "/static/js/module/angular.min.js"></script>
    <script type="text/javascript">
        var app = angular.module('main', []);
        app.controller('helloController', function($scope) {
            $scope.personName= "John";
        });
    </script>
</head>
<body>
    <div ng-controller='helloController'>
        <p>greeting you !{{personName}}</p>
        <input type="text" ng-model="personName">
    </div>
</body>
</html>
